package com.gukun.springboot.tdengine.domain.delete;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author zhang
 */
@TableName("delete_task")
@Data
public class DeleteTask {
    @TableId
    private String id;
    @TableField("name")
    private String name;
    @TableField("task_desc")
    private String taskDesc;
    @TableField("cron")
    private String cron;
    @TableField("task_priority")
    private int taskPriority;
    @TableField("create_time")
    private String createTime;
    @TableField("update_time")
    private String updateTime;
    @TableField("status")
    private int status;
    @TableField("table_names")
    private String tableNames;
    @TableField("period")
    private String period;
    @TableField("db_name")
    private String dbName;
    @TableField("host")
    private String host;
    @TableField("port")
    private int port;
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    @TableField("default_task")
    private int defaultTask;

    @TableField(exist = false)
    private MultipartFile multipartFile;
}
